Skip to content

Feat[MQB]: add authentication with basic logic #696

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

emelialei88
Copy link
Collaborator

@emelialei88 emelialei88 commented Apr 9, 2025

Broker side:

  • Added support for the authentication protocol.
  • Introduced a new AuthenticationEvent event type.
  • Implemented the authenticator component to handle authentication logic, using AuthenticationContext to encapsulate relevant context data.
  • Updated InitialConnectionHandler to handle the authentication flow.

Client side:

  • Renamed NegotiationChannelFactory to InitialConnectionChannelFactory, which now handles both authentication and negotiation.
  • Updated bmqimp_application to pass in an AuthenticationMessage.

Comment on lines 1612 to 1613
<element name='authenticateRequest' type='tns:AuthenticateRequest'/>
<element name='authenticateResponse' type='tns:AuthenticateResponse'/>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From our discussion today, we're leaning toward moving these types to a new, top-level complexType that just contains the authentication protocols.

@emelialei88 emelialei88 force-pushed the feat/authn-protocol branch 4 times, most recently from d923a9d to 6737422 Compare April 11, 2025 17:55
@emelialei88 emelialei88 force-pushed the feat/authn-protocol branch from 6737422 to fe5f4fb Compare April 24, 2025 20:24
@emelialei88 emelialei88 force-pushed the feat/authn-protocol branch from fe5f4fb to 515517d Compare April 24, 2025 20:37
@emelialei88 emelialei88 changed the title Feat[MQB]: add authn protocol Feat[MQB]: add authentication Apr 25, 2025
@emelialei88 emelialei88 changed the title Feat[MQB]: add authentication Feat[MQB]: add authentication with basic logic Apr 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants